package model.common.root;

import java.util.List;

public abstract class Relationship extends Element {

	protected List<Element> relatedElements;
	
	public Relationship() {
	}
	
	public void addRelatedElement(Element relatedElement) {
		relatedElements.add(relatedElement);
	}
	
	public boolean removeRelatedElement(Element relatedElement) {
		return relatedElements.remove(relatedElement);
	}

}
